﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using TestApplication.usercontrols;
using TestApplication.business.src;

namespace TestApplication
{
    /// <summary>
    /// Interaction logic for ApplicationUserControl.xaml
    /// </summary>
    public partial class PluginView : UserControl
    {
        public PluginView()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(PluginView_Loaded);
        }

        void PluginView_Loaded(object sender, RoutedEventArgs e)
        {
            ButtonBarControl buttonBar = new ButtonBarControl(this.WebcamControl);
            PluginBarControl pluginBar = new PluginBarControl(this.WebcamControl);
            this.MainGrid.Children.Add(buttonBar);
            this.MainGrid.Children.Add(pluginBar);
        }
    }
}
